package com.chanjiedata.changbs.bean;

import java.util.List;

/**
 * 文件名 : MyPartnerBean
 * 创建者 : MangoWang
 * 创建日期 : 2019/11/25 15:53
 * 微信 : MangoWaWang
 * 邮箱 : 763482205@qq.com
 * 描述 : TODO
 */
public class MyPartnerBean {
    /**
     * id : 6184
     * parent_id : 10569
     * member_id : 16182
     * level : 3
     * created_date : 2019-01-09 13:44:46
     * total_price : 197.58
     * truename : 康晓南
     * member_mobile : 15832004567
     * member_avatar : http://zqcj.gdzuanqian.com/uploads/home/common/default_user_portrait.gif?0.19009900%201540438564
     * activation_info : [{"name":"H9","total_stock":"20","activation":"6"},{"name":"MP70","total_stock":"30","activation":"12"},{"name":"自备机","total_stock":"5","activation":"0"}]
     */

    private int id;
    private int parent_id;
    private int member_id;
    private int level;
    private String created_date;
    private String total_price;
    private String truename;
    private String member_mobile;
    private String member_avatar;


    private String trading_amount;
    private List<ActivationInfoBean> activation_info;



    public String getTrading_amount() {
        return trading_amount;
    }

    public void setTrading_amount(String trading_amount) {
        this.trading_amount = trading_amount;
    }
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getParent_id() {
        return parent_id;
    }

    public void setParent_id(int parent_id) {
        this.parent_id = parent_id;
    }

    public int getMember_id() {
        return member_id;
    }

    public void setMember_id(int member_id) {
        this.member_id = member_id;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public String getCreated_date() {
        return created_date;
    }

    public void setCreated_date(String created_date) {
        this.created_date = created_date;
    }

    public String getTotal_price() {
        return total_price;
    }

    public void setTotal_price(String total_price) {
        this.total_price = total_price;
    }

    public String getTruename() {
        return truename;
    }

    public void setTruename(String truename) {
        this.truename = truename;
    }

    public String getMember_mobile() {
        return member_mobile;
    }

    public void setMember_mobile(String member_mobile) {
        this.member_mobile = member_mobile;
    }

    public String getMember_avatar() {
        return member_avatar;
    }

    public void setMember_avatar(String member_avatar) {
        this.member_avatar = member_avatar;
    }

    public List<ActivationInfoBean> getActivation_info() {
        return activation_info;
    }

    public void setActivation_info(List<ActivationInfoBean> activation_info) {
        this.activation_info = activation_info;
    }

    public static class ActivationInfoBean {
        /**
         * name : H9
         * total_stock : 20
         * activation : 6
         */

        private String name;
        private String total_stock;
        private String activation;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getTotal_stock() {
            return total_stock;
        }

        public void setTotal_stock(String total_stock) {
            this.total_stock = total_stock;
        }

        public String getActivation() {
            return activation;
        }

        public void setActivation(String activation) {
            this.activation = activation;
        }
    }
}
